<template>
	<div class="errPage-container">
		<el-row>
			<el-col :span="12">
				<h1 class="text-jumbo text-ginormous">Sorry!</h1>
				<h2>你没有权限去该页面</h2>
				<h6>如有要开启权限请联系你领导</h6>
				<ul class="list-unstyled">
					<li>或者你可以去:</li>
					<li class="link-type">
						<router-link to="/">
							回首页
						</router-link>
					</li>

					<li class="link-type">
						<a href="https://www.bilibili.com/">哔哩哔哩</a>
					</li>

				</ul>
			</el-col>
			<el-col :span="12">
				<img
					src="@/assets/error_images/401.png"
					class="some-gif"
					width="450"
					height="350"
					alt="401"
				>
			</el-col>
		</el-row>

	</div>
</template>
<script setup>
import router from '@/router/index.ts';

const onSetAuth = () => {
	this.$local.clear();
	router.push('/login');
};

</script>

<style scoped lang="scss">
.errPage-container {
	width: 800px;
	max-width: 100%;
	margin: 350px auto;

	.back-btn {
		background: #008489;
		color: #fff;
		border: none !important;
	}

	.some-gif {
		margin: 0 auto;
		display: block;
	}

	.some-img {
		display: block;
		margin: 0 auto;
		width: 100%;
	}

	.text-jumbo {
		font-size: 60px;
		font-weight: 700;
		color: #484848;
	}

	.list-unstyled {
		font-size: 14px;

		li {
			padding-bottom: 5px;
		}

		a {
			color: #008489;
			text-decoration: none;

			&:hover {
				text-decoration: underline;
			}
		}
	}
}
</style>